package com.zpf.service.Impl;

import com.zpf.dao.Impl.UserDaoImpl;
import com.zpf.dao.UserDao;
import com.zpf.domain.User;
import com.zpf.service.UserService;

public class UserServiceImpl implements UserService {
    private UserDao userDao = new UserDaoImpl();
    @Override
    public User login(String username, String password) {
        return userDao.select(username,password);
    }
}
